Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running all tests with pytest, make --no-mmlibs --no-undo the default #333

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

speleo3
Copy link
Contributor

@speleo3 speleo3 commented Jan 31, 2024

Migrated from schrodinger/pymol-testing#10

Supports running all tests with:

cd testing
python -m pytest

Result with latest (Sep 1, 2023) pymol-open-source:

====== 654 passed, 331 skipped, 1 warning in 40.53s ======

Result with incentive pymol 2.5.6:

====== 767 passed, 218 skipped, 1 warning in 43.11s ======

Because mmlibs and undo tests are not supported by PyMOL 2.5, I disabled them by default.

These tests seem unsupported by modern PyMOL versions (like 2.5.6), see
schrodinger/pymol-testing#9

Add `--with-mmlibs` and `--with-undo` options to enable these tests.
@JarrettSJohnson JarrettSJohnson merged commit 9dcb209 into schrodinger:master Jan 31, 2024
3 checks passed
@JarrettSJohnson
Copy link
Member

Perfecto. Tyvm

@speleo3 speleo3 deleted the pytest branch January 31, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants